package com.st.vmall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.st.vmall.entity.Goods;
import com.st.vmall.mapper.GoodsMapper;
import com.st.vmall.service.IGoodsService;

@Service
public class GoodsServiceImpl implements IGoodsService{

	@Autowired
	private GoodsMapper goodsMapper;
	
	@Override
	public int add(Goods goods) {
		return goodsMapper.insert(goods);
	}

}
